Adjusted hub upgrade database migration to show only actionable logs (3.21)#1513
Conversation
If pg_upgrade fails it is OK because we have several other options which we try during hub package upgrade. To see any errors, run the upgrade with DEBUG=1 defined as an environment variable. Ticket: ENT-12383 Changelog: title (cherry picked from commit c3bbbc3)
…ARY_PATH of previous installation" In the case of 3.21.5 (postgresql 15.6) to 3.25.0a (master, postgresql 17.0) pg_upgrade seems to work fine with the removal of LD_LIBRARY_PATH pointed at the backup. In other cases we will simply ignore pg_upgrade failures and allow the subsequent migration methods to proceed. This reverts commit e39924c. (cherry picked from commit 2c74496)
|
@cf-bottom jenkins |
|
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/11298/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-11298/ |
|
@cf-bottom jenkins please. |
|
Alright, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/11308/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-11308/ |
|
cancelled the job changed my mind. will shellcheck and test before spending ci time. |
… if pg_upgrade fails Ticket: ENT-12383 Changelog: none
d18ec86 to
52edfbf
Compare
|
@cf-bottom jenkins |
|
Sure, I triggered a build: Jenkins: https://ci.cfengine.com/job/pr-pipeline/11310/ Packages: http://buildcache.cfengine.com/packages/testing-pr/jenkins-pr-pipeline-11310/ |
|
only flakes. Looks good! |
|
Will wait on master change: #1515 |
|
https://github.com/cfengine/enterprise/pull/819 (removal of changelog entry related to LD_LIBRARY_PATH which we did not end up including in 3.21.x) |
|
adjustment of 3.24.x changelogs related to this: https://github.com/cfengine/enterprise/pull/818 |
Adjusted hub upgrade database migration to show only actionable logs
Revert "Adjusted calling pg_upgrade during upgrade to include LD_LIBRARY_PATH of previous installation"
remember to re-do the changelogs in enterprise when this goes in, and remove